package com.spatio.serving.basic.service.template.common.dto.dify;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @Description
 * @Author GuoPengfei
 * @Date 2024/5/22 15:07
 */
@Data
public class DifyResponse {

    @JsonProperty("event")
    private String event;

    @JsonProperty("task_id")
    private String taskId;

    @JsonProperty("id")
    private String id;

    @JsonProperty("message_id")
    private String messageId;

    @JsonProperty("conversation_id")
    private String conversationId;

    @JsonProperty("mode")
    private String mode;

    @JsonProperty("answer")
    private String answer;

    @JsonProperty("metadata")
    private Metadata metadata;

    @JsonProperty("created_at")
    private long createdAt;
}